package com.example.baidu_map_plugin.mapview;

import java.io.Serializable;
import java.util.List;

public class FlutterNativeBaiDuViewModel {
    public int type;
    public List<OverlayOption> overlayOptions;

    @Override
    public String toString() {
        return "FlutterNativeBaiDuViewModel{" +
                "type=" + type +
                ", overlayOptions=" + overlayOptions +
                '}';
    }

    public static class OverlayOption implements Serializable {
        public double latitude;
        public double longitude;
        public String text;
        public boolean isSelect;
        public String id;

        public OverlayOption(double latitude, double longitude, String text, int type,String id) {
            this.latitude = latitude;
            this.longitude = longitude;
            this.text = text;
            this.id=id;
        }

        public OverlayOption() {
        }

        @Override
        public String toString() {
            return "OverlayOption{" +
                    "latitude=" + latitude +
                    ", longitude=" + longitude +
                    ", text='" + text + '\'' +
                    ", isSelect=" + isSelect +
                    ", id='" + id + '\'' +
                    '}';
        }
    }

}
